package com.zmn.oms.persistence.interfaces.invoice;

import com.zmn.oms.model.entity.invoice.OrderInvoice;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/** 
 * 类描述：工单发票
 * @author  lujia
 * @date   2018-12-15 17:06:37
 */
public interface OrderInvoiceDao {

    OrderInvoice findOrderInvoiceByKey(@Param("orderId") Long orderId);

    List<OrderInvoice> listOrderInvoiceByOrderIdList(@Param("orderIdList") List<Long> orderIdList);

    int insertOrderInvoice(OrderInvoice record);

    void deleteOrderInvoiceByKey(@Param("orderId") Long orderId);
}